<?php

class NewRechargePayAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_STRING,
        SzAbstractAction::TYPE_INT,
    );

    public function execute($userId,$orderNo,$reqTime) {
        GameService::get()->validateMultiRequestTimeDelta($userId, $reqTime);

        return $this->buildResponse(
            RechargeService::get()->newRechargePay($userId,$orderNo,$reqTime)
        );
    }
}